-
Notifications
You must be signed in to change notification settings - Fork 1.5k
CORS-4328: configure AWS CCM NodeIPFamilies for dual-stack support #10257
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Add NodeIPFamilies configuration to AWS cloud provider config when dual-stack networking is enabled. The cloud provider now sets the appropriate IP family ordering (ipv4/ipv6 or ipv6/ipv4) based on the install config's IPFamily setting. For dual-stack IPv4 primary clusters, NodeIPFamilies is set to: NodeIPFamilies=ipv4 NodeIPFamilies=ipv6 For dual-stack IPv6 primary clusters, NodeIPFamilies is set to: NodeIPFamilies=ipv6 NodeIPFamilies=ipv4 Single-stack IPv4 clusters continue to use the minimal config with an empty Global section.
|
@tthvo: This pull request references CORS-4328 which is a valid jira issue. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
@tthvo: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
| ` | ||
| case networktypes.DualStackIPv6Primary: | ||
| cloudCfg = `[Global] | ||
| NodeIPFamilies=ipv6 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With this cause failures if it merges before CCCMO 426?
This PR adds
NodeIPFamiliesconfiguration to AWS cloud provider config when dual-stack networking is enabled. The cloud provider now sets the appropriate IP family ordering (ipv4/ipv6 or ipv6/ipv4) based on the install config'sipFamilysetting. Tested and extracted from #9930.For dual-stack IPv4 primary clusters, NodeIPFamilies is set to:
For dual-stack IPv6 primary clusters, NodeIPFamilies is set to:
Single-stack IPv4 clusters continue to use the minimal config with an empty Global section.
[Global]Note: The installer lays down the correct format. However, CCCMO modifies the format of the
NodeIPFamiliesentries incorrectly in-cluster. The PR openshift/cluster-cloud-controller-manager-operator#426 will fix that.